/**
 * Assignment 5               P5Shape.java                  Due July 20, 2011
 *
 * login: cs11ubn
 */

/**
 * Abstract class P5Shape to use as a super class
 *
 * area()
 * toString()
 * volume()
 */
public abstract class P5Shape
{
  /*
   * We can use the default ctor here as we do not need to initialize any
   * variables or do anything fancy.
   */

  // Declare the area method
  public abstract double area();

  // Declare the volume method
  public abstract double volume();

  // Base toString. Should never be called unless we failed to override
  public String toString()
  {
    return "Abstract P5Shape toString()";
  }
}
